package com.directv.z8training.ex2;

/**
 * @author HieuLT8
 *
 */
public class Run {
	
	public static void main(String[] args) {
		UIFactory UIWin = FactoryProducer.getOS("WIN");
		WinUIButton winButton = (WinUIButton) UIWin.createButton();
		winButton.paint();
		WinUITextField winField = (WinUITextField) UIWin.createTextField();
		winField.paint();
		UIFactory UIMac = FactoryProducer.getOS("MAC");
		MacUIButton macButton = (MacUIButton) UIMac.createButton();
		macButton.paint();
		MacUITextField macField = (MacUITextField) UIMac.createTextField();
		macField.paint();
	}
	
	

}
